import React, { forwardRef } from 'react'
import { ReactComponent as Model } from './Plugin.svg'
import { ReactComponent as ModelHovered } from './PluginHovered.svg'

export const PluginIcon = forwardRef<
  SVGSVGElement & { className: any },
  React.PropsWithChildren<{ className?: string }>
>(({ className, ...props }, ref) => {
  return <Model ref={ref} {...props} className={className || ''} />
})

export const PluginHoveredIcon = forwardRef<
  SVGSVGElement & { className: any },
  React.PropsWithChildren<{ className?: string }>
>(({ className, ...props }, ref) => {
  return <ModelHovered ref={ref} {...props} className={className || ''} />
})
